package com.Exchanger;

import java.util.concurrent.Exchanger;

/**
 * Created by mike on 17/10/26.
 */
public class ExchangerTest {
    public static void main(String[] args) {
        Exchanger exchanger = new Exchanger();
        new Thread(new Runnable1(exchanger)).start();
        new Thread(new Runnable2(exchanger)).start();
    }
}
